package com.tanhua.dubbo.api.mongo;

import com.tanhua.domain.mongo.UserLike;
import com.tanhua.domain.vo.PageResult;
import com.tanhua.domain.vo.UserLikeVo;

import java.util.List;

public interface UserLikeApi {
    void save(Long userId, Long likeUserId);

    boolean isExist(Long  userId, Long likeUserId);

    List<UserLike> find(Long userId);

    Integer getCount(Long userId);

    PageResult lovePage(Long userId, Integer page, Integer pagesize);

    PageResult getBeingLovedPage(Long userId, Integer page, Integer pagesize);

    void deleteLove(Long userId, Long uid);

}
